/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 案件撤回相关操作配置表 config_busi_case_recall_column 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月28日
 */
@Data
@Table(name = "upcase.config_busi_case_recall_column")
public class ConfigBusiCaseRecallColumn implements Serializable {
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件环节编码
     */
    @Column(name = "case_link_code")
    private String caseLinkCode;

    /**
     * 案件环节名称
     */
    @Column(name = "case_link_name")
    private String caseLinkName;

    /**
     * 业务字段中文名
     */
    @Column(name = "busi_column_cn")
    private String busiColumnCn;

    /**
     * 业务字段英文名
     */
    @Column(name = "busi_column_en")
    private String busiColumnEn;

    /**
     * 业务表中文名
     */
    @Column(name = "busi_table_name_cn")
    private String busiTableNameCn;

    /**
     * 业务表英文名
     */
    @Column(name = "busi_table_name_en")
    private String busiTableNameEn;

    /**
     * 业务表操作类型 I-新增 D-删除 U-更新
     */
    @Column(name = "busi_operate_type")
    private String busiOperateType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 创建人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 业务字段值
     */
    @Column(name = "busi_column_value")
    private String busiColumnValue;

    /**
     * 案件流编码
     */
    @Column(name = "case_flow_code")
    private String caseFlowCode;

    /**
     * 案件流版本
     */
    @Column(name = "case_flow_version")
    private String caseFlowVersion;

    /**
     * 配置记录类型 1-操作字段 2-条件字段
     */
    @Column(name = "config_column_type")
    private String configColumnType;

    private static final long serialVersionUID = 1L;

}